package com.psg.dao;


import com.psg.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Repository
public interface UserDao {

    User findByUserName(String uName);
    Boolean register(@Param("uName") String uName, @Param("pwd") String pwd, @Param("email") String email);

    User findById(Integer id);
}
